
module.exports = function ($scope, $state, $stateParams,$resource,FileUploader) {
  $scope.strs = $stateParams.directory_pdf;
  $scope.flag = $stateParams.flag;
  console.log($scope.flag);
  $('#dlq').media({width:1000, height:600,autoplay: true, src: $scope.strs}); 
  $scope.back = function (){
    if ($scope.flag == 'guanfang'){
      $state.go('app.projectGuides');
    } else if ($scope.flag == 'qiye'){
      $state.go('app.notice_lists');
    }
  }
};
